home *** CD-ROM | disk | FTP | other *** search
/ BMUG Revelations / BMUG Revelations.toast / Programming / Programming Languages / Harvest C / MPW Int & Lib / Interfaces / DiskInit.h < prev    next >
Text File  |  1991-04-17  |  1KB  |  52 lines

  1. /************************************************************
  2.  
  3. Created: Sunday, January 6, 1991 at 9:08 PM
  4.     DiskInit.h
  5.     C Interface to the Macintosh Libraries
  6.  
  7.  
  8.         Copyright Apple Computer, Inc.     1985-1989
  9.         All rights reserved
  10.  
  11. ************************************************************/
  12.  
  13.  
  14. #ifndef __DISKINIT__
  15. #define __DISKINIT__
  16.  
  17. #ifndef __TYPES__
  18. #include <Types.h>
  19. #endif
  20.  
  21.  
  22. struct HFSDefaults {
  23.     char sigWord[2];    /* signature word*/
  24.     long abSize;        /* allocation block size in bytes*/
  25.     long clpSize;       /* clump size in bytes*/
  26.     long nxFreeFN;      /* next free file number*/
  27.     long btClpSize;     /* B-Tree clump size in bytes*/
  28.     short rsrv1;        /* reserved*/
  29.     short rsrv2;        /* reserved*/
  30.     short rsrv3;        /* reserved*/
  31. };
  32.  
  33. typedef struct HFSDefaults HFSDefaults;
  34.  
  35.  
  36. #ifdef __cplusplus
  37. extern "C" {
  38. #endif
  39. pascal void DILoad(void); 
  40. pascal void DIUnload(void); 
  41. pascal short DIBadMount(Point where,long evtMessage); 
  42. OSErr dibadmount(Point *where,long evtMessage); 
  43. pascal OSErr DIFormat(short drvNum); 
  44. pascal OSErr DIVerify(short drvNum); 
  45. pascal OSErr DIZero(short drvNum,ConstStr255Param volName); 
  46. OSErr dizero(short drvnum,char *volName); 
  47. #ifdef __cplusplus
  48. }
  49. #endif
  50.  
  51. #endif
  52.